package com.zhny.aiot.dfst.ecois.soil.plugin;

import com.zhny.aiot.plugin.Field;
import com.zhny.aiot.plugin.web.WebConfig;
import lombok.Data;

@Data
public class EcoisSoilConfig extends WebConfig {
    @Field(
            alias = "应用ID",
            description = "E生态创建的应用ID"
    )
    private String appid;
    @Field(
            alias = "应用密钥",
            description = "E生态创建的应用密钥"
    )
    private String secret;

    @Field(
            alias = "设备序列号",
            description = "设备序列号"
    )
    private String sn;
    @Override
    public String toKey() {
        return super.toKey (appid,secret,sn);
    }
}
